package cc.rengu.igas.bomp.common.dao;

import cc.rengu.igas.bomp.common.entity.IndustryMapInfo;

import java.util.List;

/**
 * @author: zhangxuran
 * @Date: 2020/5/6 9:58
 * @Description: 行业类别映射关系表
 */
public interface IndustryMapInfoMapper {


    /**
     * 根据行业类别代码，通道标识，对公私专用标识查询
     *
     * @param industryType      行业类别代码
     * @param channelType       通道标识
     * @param publicPrivateFlag 对公私专用标识查询
     * @return 行业类别
     * @throws Exception 异常
     */
    IndustryMapInfo selectIndustryMapInfoByIndustryTypeAndChannelType(String industryType, String channelType, String publicPrivateFlag) throws Exception;


    /**
     * 根据行业类别代码，通道标识，对公私专用标识查询
     *
     * @param industryType 行业类别代码
     * @param channelType  通道标识
     * @return 行业类别
     * @throws Exception 异常
     */
    List<IndustryMapInfo> selectIndustryMapInfoByCondition(String industryType, String channelType) throws Exception;

    /**
     * 根据通道标志和经营类目查询
     */
    List<IndustryMapInfo> selectIndustryMapInfoByDestCatalogCd(String destChannel, String destCatalogCd) throws Exception;
}
